package com.patent.service.impl;

import com.patent.dao.PatentTransferMapper;
import com.patent.domain.po.PatentTransfer;
import com.patent.service.PatentTransferService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service("patentTransferService")
@Transactional
public class PatentTransferServiceImpl implements PatentTransferService {

	private static final Logger log = LoggerFactory.getLogger(PatentTransferServiceImpl.class);

	@Resource(name="patentTransferMapper")
	private PatentTransferMapper patentTransferMapper;

	@Override
	public void addPatentTransfer(PatentTransfer pentTransfer) throws Exception {
		patentTransferMapper.insertSelective(pentTransfer);
	}
}
